package com.sina.shop.util;

import java.util.Collection;

/**
 * Created by Backache on 2017/9/27.
 * 集合工具类
 */
public class CollectionUtils {
    public static boolean isEmpty(Collection collection){
        return org.apache.commons.collections.CollectionUtils.isEmpty(collection);
    }

    public static int size(Object collection) {
        return org.apache.commons.collections.CollectionUtils.size(collection);
    }
}
